package com.yami.shop.vo.message.message;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RecallMessageVo implements Serializable {

    @NotEmpty(message = "发送人不能为空")
    @Schema(description = "发送人id",required = true)
    private  String senderId;

    @NotEmpty(message = "接收人id不能为空")
    @Schema(description = "接收人id",required = true)
    private String targetId;

    @NotEmpty(message = "消息唯一标识不能为空")
    @Schema(description = "消息唯一标识",required = true)
    private   String uId;

    @NotEmpty(message = "消息发送时间不能为空")
    @Schema(description = "消息发送时间",required = true)
    private   String  sentTime;
}
